import { Component, OnInit, DoCheck, AfterContentChecked, OnChanges,
  AfterViewChecked, AfterViewInit, OnDestroy, AfterContentInit } from '@angular/core';

@Component({
  selector: 'app-header',
  templateUrl: './header.component.html',
  styleUrls: ['./header.component.scss'],
  providers: []
  // ........这里还有很多，可根据需要进行注入 或者查看源码 如：
  // animations: []等等
})
export class HeaderComponent implements OnChanges, OnInit, DoCheck, AfterContentInit,
AfterContentChecked, AfterViewChecked, AfterViewInit, OnDestroy {

  constructor() { }

  ngOnChanges() {}

  ngOnInit() {}

  ngDoCheck() {}

  ngAfterContentInit() {}

  ngAfterContentChecked() {}

  ngAfterViewInit() {}

  ngAfterViewChecked() {}

  ngOnDestroy() {}
}
